package com.abing.starry.spi.monitor.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * @Author CaptainBing
 * @Date 2024/9/25 16:14
 * @Description
 */

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class MemoryInfo {

    private static final long serialVersionUID = 1L;

    @Schema(description = "JVM堆总内存,单位MB")
    private long jvmHeapTotal;

    @Schema(description = "JVM堆可用内存,单位MB")
    private long jvmHeapFree;

    @Schema(description = "JVM堆外总内存,单位MB")
    private long jvmNonHeapTotal;

    @Schema(description = "JVM堆外可用内存,单位MB")
    private long jvmNonHeapFree;

    @Schema(description = "系统总内存,单位MB")
    private long systemTotal;

    @Schema(description = "系统可用内存,单位MB")
    private long systemFree;


}
